Developer Documentation

QuickTime 4 API Documentation

QuickTime 4 Reference

Previous | Chapter Top | Chapter Contents | Next |

MIDI File Import Flags

These flags control the importation of MIDI files.

enum {
    kMIDIImportSilenceBefore = 1 << 0,
    kMIDIImportSilenceAfter = 1 << 1,
    kMIDIImport20Playable = 1 << 2,
    kMIDIImportWantLyrics = 1 << 3
};

Constant descriptions

kMIDIImport20Playable
Specifies to import only MIDI data that can be used with QuickTime 2.0. The imported data does not include program changes and has at most 32 parts.
kMIDIImportSilenceAfter
Specifies to add one second of silence after the last note.
kMIDIImportSilenceBefore
Specifies to add one second of silence before the first note.
kMIDIImportWantLyrics
Specifies to import karaoke lyrics as a text track.

© 1999 Apple Computer, Inc.

Previous | Chapter Top | Chapter Contents | Next